.class public Lcom/bitauto/autoeasy/bbs/BbsTask;
.super Landroid/os/AsyncTask;
.source "BbsTask.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/String;",
        "Ljava/lang/String;",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field private activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

.field private sign:I


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    .line 21
    return-void
.end method

.method public constructor <init>(Lcom/bitauto/autoeasy/bbs/BBSActivity;I)V
    .locals 0
    .parameter "activity"
    .parameter "sign"

    .prologue
    .line 14
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    .line 15
    iput p2, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    .line 16
    iput-object p1, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    .line 17
    return-void
.end method


# virtual methods
.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/bitauto/autoeasy/bbs/BbsTask;->doInBackground([Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected varargs doInBackground([Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .parameter "params"

    .prologue
    .line 31
    iget v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    packed-switch v0, :pswitch_data_0

    .line 45
    :goto_0
    const/4 v0, 0x0

    return-object v0

    .line 33
    :pswitch_0
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->refreshView1()V

    goto :goto_0

    .line 36
    :pswitch_1
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->refreshView2()V

    goto :goto_0

    .line 39
    :pswitch_2
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->refreshView3()V

    goto :goto_0

    .line 42
    :pswitch_3
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->refreshView4()V

    goto :goto_0

    .line 31
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public getSign()I
    .locals 1

    .prologue
    .line 49
    iget v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    return v0
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/bitauto/autoeasy/bbs/BbsTask;->onPostExecute(Ljava/lang/String;)V

    return-void
.end method

.method protected onPostExecute(Ljava/lang/String;)V
    .locals 2
    .parameter "result"

    .prologue
    const/4 v1, 0x0

    .line 58
    iget v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    packed-switch v0, :pswitch_data_0

    .line 72
    :goto_0
    sget-object v0, Lcom/bitauto/autoeasy/MainActivity;->mainActivity:Lcom/bitauto/autoeasy/MainActivity;

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/MainActivity;->setTitleProgressBar(Z)V

    .line 73
    iget v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    if-nez v0, :cond_0

    .line 74
    sget-object v0, Lcom/bitauto/autoeasy/MainActivity;->mainActivity:Lcom/bitauto/autoeasy/MainActivity;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/MainActivity;->setTitleButtonVisit(Z)V

    .line 77
    :goto_1
    return-void

    .line 60
    :pswitch_0
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->setListView01()V

    goto :goto_0

    .line 63
    :pswitch_1
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->setListView02()V

    goto :goto_0

    .line 66
    :pswitch_2
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->setListView03()V

    goto :goto_0

    .line 69
    :pswitch_3
    iget-object v0, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->activity:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/BBSActivity;->setListView04()V

    goto :goto_0

    .line 76
    :cond_0
    sget-object v0, Lcom/bitauto/autoeasy/MainActivity;->mainActivity:Lcom/bitauto/autoeasy/MainActivity;

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/MainActivity;->setTitleButtonVisit(Z)V

    goto :goto_1

    .line 58
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method protected onPreExecute()V
    .locals 2

    .prologue
    .line 25
    sget-object v0, Lcom/bitauto/autoeasy/MainActivity;->mainActivity:Lcom/bitauto/autoeasy/MainActivity;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/MainActivity;->setTitleButtonVisit(Z)V

    .line 26
    sget-object v0, Lcom/bitauto/autoeasy/MainActivity;->mainActivity:Lcom/bitauto/autoeasy/MainActivity;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/MainActivity;->setTitleProgressBar(Z)V

    .line 27
    return-void
.end method

.method public setSign(I)V
    .locals 0
    .parameter "sign"

    .prologue
    .line 53
    iput p1, p0, Lcom/bitauto/autoeasy/bbs/BbsTask;->sign:I

    .line 54
    return-void
.end method
